﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CLEX.AdminUI
{
    public class UpdateEventArgs<T> : EventArgs
    {
        private readonly T oldItem;
        private readonly T item;

        public T OldItem
        {
            get { return oldItem; }
        }

        public T Item
        {
            get { return item; }
        }

        public UpdateEventArgs(T oldItem, T item)
        {
            this.oldItem = oldItem;
            this.item = item;
        }
    }
}
